<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::LayerHeightSpline Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_slic3r_1_1_layer_height_spline-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::LayerHeightSpline Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_layer_height_spline_8hpp_source.html">LayerHeightSpline.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1671145871e33fc548c00bb0aff47f5b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a1671145871e33fc548c00bb0aff47f5b">LayerHeightSpline</a> ()</td></tr>
<tr class="separator:a1671145871e33fc548c00bb0aff47f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00458314391514296aaf195a6ecf1950"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a00458314391514296aaf195a6ecf1950">LayerHeightSpline</a> (const <a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> &amp;other)</td></tr>
<tr class="separator:a00458314391514296aaf195a6ecf1950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e7d5e1c533e6be14d076495c6708607"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a8e7d5e1c533e6be14d076495c6708607">operator=</a> (const <a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> &amp;other)</td></tr>
<tr class="separator:a8e7d5e1c533e6be14d076495c6708607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b80460930d53d21851b332b2e4ea34d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a4b80460930d53d21851b332b2e4ea34d">setObjectHeight</a> (<a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> object_height)</td></tr>
<tr class="separator:a4b80460930d53d21851b332b2e4ea34d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e795daea8d329b207492a333161f3a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a10e795daea8d329b207492a333161f3a">hasData</a> ()</td></tr>
<tr class="separator:a10e795daea8d329b207492a333161f3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27c1a69278a52e2df4569f41d1e258fc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a27c1a69278a52e2df4569f41d1e258fc">setLayers</a> (std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt; layers)</td></tr>
<tr class="separator:a27c1a69278a52e2df4569f41d1e258fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b459405784b191fe0421af3ecca8cf2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a6b459405784b191fe0421af3ecca8cf2">updateLayerHeights</a> (std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt; heights)</td></tr>
<tr class="separator:a6b459405784b191fe0421af3ecca8cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a642fdc0d96d4687651c59a310d5bf6d2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a642fdc0d96d4687651c59a310d5bf6d2">layersUpdated</a> () const</td></tr>
<tr class="separator:a642fdc0d96d4687651c59a310d5bf6d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a09b607aa8a564c3771dbdf747356be"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a7a09b607aa8a564c3771dbdf747356be">layerHeightsUpdated</a> () const</td></tr>
<tr class="separator:a7a09b607aa8a564c3771dbdf747356be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32c8d47d3d85b26c0e12dce9573659ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a32c8d47d3d85b26c0e12dce9573659ec">clear</a> ()</td></tr>
<tr class="separator:a32c8d47d3d85b26c0e12dce9573659ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fc59f1462afc922d42685b048a8509d"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#a7fc59f1462afc922d42685b048a8509d">getOriginalLayers</a> () const</td></tr>
<tr class="separator:a7fc59f1462afc922d42685b048a8509d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a2eec6c18d1850c2d72bace14257d4"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#ab1a2eec6c18d1850c2d72bace14257d4">getInterpolatedLayers</a> () const</td></tr>
<tr class="separator:ab1a2eec6c18d1850c2d72bace14257d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa301b73f64d1fbaebe446f1f15018dfe"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_layer_height_spline.html#aa301b73f64d1fbaebe446f1f15018dfe">getLayerHeightAt</a> (<a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> height)</td></tr>
<tr class="separator:aa301b73f64d1fbaebe446f1f15018dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1671145871e33fc548c00bb0aff47f5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1671145871e33fc548c00bb0aff47f5b">&#9670;&nbsp;</a></span>LayerHeightSpline() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::LayerHeightSpline::LayerHeightSpline </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a00458314391514296aaf195a6ecf1950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00458314391514296aaf195a6ecf1950">&#9670;&nbsp;</a></span>LayerHeightSpline() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::LayerHeightSpline::LayerHeightSpline </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a32c8d47d3d85b26c0e12dce9573659ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32c8d47d3d85b26c0e12dce9573659ec">&#9670;&nbsp;</a></span>clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::LayerHeightSpline::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab1a2eec6c18d1850c2d72bace14257d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1a2eec6c18d1850c2d72bace14257d4">&#9670;&nbsp;</a></span>getInterpolatedLayers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt; Slic3r::LayerHeightSpline::getInterpolatedLayers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa301b73f64d1fbaebe446f1f15018dfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa301b73f64d1fbaebe446f1f15018dfe">&#9670;&nbsp;</a></span>getLayerHeightAt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> Slic3r::LayerHeightSpline::getLayerHeightAt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>height</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7fc59f1462afc922d42685b048a8509d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fc59f1462afc922d42685b048a8509d">&#9670;&nbsp;</a></span>getOriginalLayers()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&gt; Slic3r::LayerHeightSpline::getOriginalLayers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a10e795daea8d329b207492a333161f3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10e795daea8d329b207492a333161f3a">&#9670;&nbsp;</a></span>hasData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::LayerHeightSpline::hasData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7a09b607aa8a564c3771dbdf747356be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a09b607aa8a564c3771dbdf747356be">&#9670;&nbsp;</a></span>layerHeightsUpdated()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::LayerHeightSpline::layerHeightsUpdated </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a642fdc0d96d4687651c59a310d5bf6d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a642fdc0d96d4687651c59a310d5bf6d2">&#9670;&nbsp;</a></span>layersUpdated()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::LayerHeightSpline::layersUpdated </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8e7d5e1c533e6be14d076495c6708607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e7d5e1c533e6be14d076495c6708607">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> &amp; Slic3r::LayerHeightSpline::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_layer_height_spline.html">LayerHeightSpline</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a27c1a69278a52e2df4569f41d1e258fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27c1a69278a52e2df4569f41d1e258fc">&#9670;&nbsp;</a></span>setLayers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::LayerHeightSpline::setLayers </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt;&#160;</td>
          <td class="paramname"><em>layers</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b80460930d53d21851b332b2e4ea34d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b80460930d53d21851b332b2e4ea34d">&#9670;&nbsp;</a></span>setObjectHeight()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::LayerHeightSpline::setObjectHeight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>object_height</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6b459405784b191fe0421af3ecca8cf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b459405784b191fe0421af3ecca8cf2">&#9670;&nbsp;</a></span>updateLayerHeights()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::LayerHeightSpline::updateLayerHeights </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt;&#160;</td>
          <td class="paramname"><em>heights</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_layer_height_spline_8hpp_source.html">LayerHeightSpline.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_layer_height_spline_8cpp.html">LayerHeightSpline.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
